package com.tea.andyzhang;

import com.tea.andyzhang.item.tea;

import com.tea.andyzhang.item.teapickaxe;
import com.tea.andyzhang.item.teashovel;
import com.tea.andyzhang.item.teahoe;
import com.tea.andyzhang.item.teaaxe;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class ItemRegistry {
    public static DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, "tea");
    public static RegistryObject<Item> tea = ITEMS.register("tea", () ->{
        return new tea();
    });
    public static RegistryObject<Item> teapickaxe = ITEMS.register("tea_pickaxe", () ->{
        return new teapickaxe();
    });
    public static RegistryObject<Item> tealeaf = ITEMS.register("tea_leaf", () ->{
        return new BlockItem(BlockRegistry.tealeaf.get(), new Item.Properties().group(ItemGroup.DECORATIONS));
    });
    public static RegistryObject<Item> teahoe = ITEMS.register("tea_hoe", () ->{
        return new teahoe();
    });
    public static RegistryObject<Item> teasword = ITEMS.register("tea_showel", () ->{
        return new teashovel();
    });
    public static RegistryObject<Item> teaaxe = ITEMS.register("tea_ave", () ->{
        return new teaaxe();
    });
}
